home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 009 / softg203.u15 < prev    next >
Text File  |  1986-04-05  |  14KB  |  384 lines

  1. SOFTG203.UNP        Breaking Softguard version 2.03 & 2.03A
  2. version 15                        by The Lone Victor
  3.  
  4.      United States copyright law SPECIFICALLY grants you the right to
  5. make copies of programs you buy on magnetic media.  Programs are copy
  6. protected IN VIOLATION OF YOUR RIGHTS UNDER U.S. LAW.
  7.  
  8.      Programs that are protected by the Softguard system are distinguished
  9. by the files CML0203.HCL and VDF0203.VDW which are hidden in the root
  10. directory when you install the program on your fixed disk.  The 0203
  11. part of the file names is the Softguard version (2.03) while CML stands
  12. for Common Loader and VDF is the Volume Descriptor File.  The extensions
  13. HCL and VDW stand for Hard-disk Common Loader and Verify Descriptor Working
  14. copy.  In addition, there will be a hidden root file with a .EXE or .LOD
  15. or some other extension.  This is the REAL program, which has been
  16. encrypted and hidden.
  17.  
  18.      The program <PRODUCT>.COM, in the product directory is the Softguard
  19. miniloader.  All it does is call the Common Loader.  For example, when you
  20. run CLIPPER, the program CLIPPER.COM loads CML0203.HCL high in memory and
  21. runs it.  CML decrypts itself and reads VDF0203.VDW.  The VDF file contains
  22. some code and data from the fixed disk FAT at the time of installation.  By
  23. comparing the information in the VDF file with the current FAT, CML can tell
  24. if the CML, VDF, and CLIPPER.L23 files are in the same place on the disk
  25. where they were installed.  If they have moved, say from a backup & restore,
  26. then CLIPPER will not run.
  27.  
  28.      This text file is designed to let you unprotect ANY of the programs
  29. using the Softguard 2.03 system.  We will use CLIPPER as an example,
  30. but values for other programs will be included in a table.  This text will
  31. not unprotect any programs using Softguard 2.00.  To unprotect Softguard
  32. 2.00, see the file SOFTG200.  Versions 1.00 of dBase III and Framework
  33. used ProLock.  To unprotect Prolock disks read the file PROLOCK.UNP,
  34. also by yours truly.
  35.  
  36.      This table is an experiment designed to keep down the number of
  37. files uploaded to BBS's.  When I started it, this text file was named
  38. SOFTG203.UN1.  Whenever you add a product to the table (including your
  39. "name" if desired) increment the file name by one and upload it to your
  40. local BBS.  Don't worry about the fact that others will be doing the same.
  41. Higher versions of SOFTG203.UNx will not INSURE that they contain all the
  42. tabulated products, but will be MORE LIKELY to contain them all.
  43. Eventually we'll get them all collected.  (Could this be a new type of
  44. electronic chain letter?)
  45.  
  46.      If you find a new program to add to the table, just enter the name of
  47. the encrypted, hidden file in the root directory, and it's size, converted
  48. to HEX.  Try it out before you upload it to your BBS.
  49.  
  50.      If you have any comments on this unprotect routine or the PROLOCK.UNP
  51. routine, please leave them on the Atlanta PCUG BBS (404) 433-0062.
  52.  
  53.                       The Lone Victor - 7/14/85
  54.  
  55.  
  56.  
  57.         TABLE OF VALUES FOR VARIOUS PROTECTED PROGRAMS
  58.  
  59.           FILE      FINAL
  60. PRODUCT  VERSION  NAME       EXT    SIZE:  BX=  CX=        CONTRIBUTOR
  61. ------------------------------------------------------------------------
  62.  
  63. Clipper     1.00  CLIPPER  EXE    BX = 1    CX = 9800  The Lone Victor 7/14/85
  64. Spotlight   1.1   SL       EXE    BX = 0    CX = 6600  HARD DISK USER  7/25/85
  65. dBASE III Developer's Release
  66.           DBASE    EXE    BX = 1    CX = C000  Vanishing/|\Point 10/85
  67. dBCODE        1.62  DBC       COM    BX = 0    CX = 5A00  Vanishing/|\Point 10/85
  68. dBRUN          DBRUN    COM    BX = 1    CX = AC00  <<BOLTAR>>      11/01/85
  69.  
  70.  
  71.  
  72.  
  73.     USE THE SECOND UNPROTECT METHOD FOR THE FOLLOWING PROGRAMS
  74.  
  75.           FILE      FINAL
  76. PRODUCT  VERSION  NAME       EXT    SIZE:  BX=  CX=        CONTRIBUTOR
  77. ------------------------------------------------------------------------
  78.  
  79. Clipper     S85   CLIPPER  EXE    BX = 1    CX = 9800  Hate Protection  9/23/85
  80. Doubledos   2.1R  DOUBLEDO EXE    BX = 0    CX = 4800  Godfather       10/02/85
  81. Sprdsht Auditor 2.00   AU  EXE    BX = 2    CX = 9400  The Lone Victor 10/31/85
  82. Framework II      FW       EXE    BX = 3    CX = 7600  <<BOLTAR>> & Co.11/23/85
  83. Disk Optimizer      OPTIMIZE COM    BX = 0    CX = 4100  CODEBUSTER       12/05/85
  84. Doubledos   2.1T  DOUBLEDO EXE    BX = 0    CX = 4600  <<BOLTAR>>       12/28/85
  85. Disk Optimizer for Version 1.2
  86.           OPTIMIZE EXE    BX = 0    CX = 4600  <<BOLTAR>> & Co.12/28/85
  87.  
  88.  
  89.        USE THE THIRD UNPPROTECT METHOD FOR SOFTGUARD 2.03A
  90.  
  91.           FILE      FINAL
  92. PRODUCT  VERSION  NAME       EXT    SIZE:  BX=  CX=        CONTRIBUTOR
  93. ------------------------------------------------------------------------
  94.  
  95. 123        2.00  123       EXE    BX = 0    CX = 1C00  The Lone Victor 11/04/85
  96. PARADOX     1.00  PARADOX  EXE    BX = 0    CX = 8C30  The Blot       11/12/85
  97.  
  98.  
  99.  
  100.     The following instructions show you how to bypass the SoftGuard copy
  101. protection scheme using CLIPPER version 1.00 as an example.  To use it
  102. with other products, simply substitute the values in the table above for
  103. the values given below.  The only things that change are the file name,
  104. and the size that goes in the BX:CX register pair.  You can obtain the file
  105. size by loading the encrypted file (e.g. CLIPPER.L23) with DEBUG and doing
  106. the Register command.  The file size is in the BX:CX register pair.
  107.  
  108.  
  109.  
  110.             -- INSTRUCTIONS --
  111.  
  112.      First, using your valid, original CLIPPER diskette, install it on a
  113. fixed disk.  You cannot use this text to unprotect the floppy directly!
  114. Softguard hides three files in your fixed disk root directory: CML0203.HCL,
  115. VDF0203.VDW, and CLIPPER.L23.  It also copies CLIPPER.COM into your chosen
  116. CLIPPER directory.  CLIPPER L23 is the real CLIPPER program, encrypted.  The
  117. extension of this file does not matter.  It is really an encrypted .EXE file.
  118.  
  119.      Second, un-hide the three files in the root directory.  You can do
  120. this with the programs ALTER.COM or FM.COM found on any BBS.
  121.  
  122.      Make copies of the three files, and of CLIPPER.COM, into some other
  123. directory.
  124.  
  125.      Hide the three root files again using ALTER or FM.
  126.  
  127.      Following the CLIPPER instructions, UNINSTALL CLIPPER.  You can now
  128. put away your original CLIPPER diskette.  We are done with it.
  129.  
  130.      Now copy your four saved files back into the root directory and hide
  131. the CML0203.HCL, VDF0203.VDW, and CLIPPER.L23 files using ALTER or FM.
  132.  
  133.      We can now run CLIPPER.COM using DEBUG, trace just up to the point
  134. where it has decrypted CLIPPER.EXE, then write that file out.
  135.  
  136.       ****    USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  137.      ****  E.G. USE FW.COM INSTEAD OF CLIPPER.COM FOR FRAMEWORK  ****
  138.  
  139. debug CLIPPER.com        ; name of file that runs the product
  140. r <CR>                ; dump debug's registers
  141.  
  142.       ****    WRITE DOWN THE VALUE OF DS FOR USE BELOW.  ****
  143.      ****  THIS VALUE IS DEPENDENT ON YOUR PARTICULAR MACHINE. ****
  144.  
  145. g 4D7                ; now we can trace CML
  146. t
  147. g 1B5
  148. t
  149. e cs:A2
  150.     74.EB            ; debug reports the 74 here, you enter EB
  151. e cs:127
  152.     E8.90 D2.90 05.90    ; you enter the 90's followed by a space.
  153.                 ; If you get a D1 instead of D2 skip to
  154.                 ; the next page for the second version 2.03
  155. g 127
  156. a 186
  157.     jmp 1C6
  158.     <CR>            ; this second CR gets you out of the assembler
  159. a 22C
  160.     jmp 266
  161.     <CR>
  162. a 420
  163.     mov ax,22
  164.     <CR>
  165. e cs:430
  166.     01.89            ; debug reports the 01, you enter 89
  167. a 4CF
  168.     mov bl,7C
  169.     <CR>
  170. g 4E0
  171. g 282
  172. t
  173. g 24D
  174. t
  175. g 59F                ; wait while reading VDF & FAT
  176. g=5AA 5BA
  177. g=5C2 9D3            ; CLIPPER.EXE has been decrypted
  178.  
  179. d cs:1E0 L8            ; just for grins, here's the password
  180.            '44250A15'
  181.  
  182.           ****  USE THE FILE SIZE LISTED IN THE TABLE ABOVE  ****
  183.            ****  THE VALUES HERE ARE FOR CLIPPER 1.00 ONLY    ****
  184.  
  185. rBX <CR>
  186. :1                ; set BX to 1 for CLIPPER
  187. rCX <CR>
  188. :9800                ; set CX to 9800 for CLIPPER
  189.  
  190.           ****  USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  191.  
  192. nCLIPPER.bin            ; name of file to write to
  193. w XXXX:100            ; where XXXX is the value of DS that
  194.                 ;   you wrote down at the beginning.
  195. q                ; quit debug
  196.  
  197.      Last, unhide and delete the three root files CML0203.HCL, VDF0203.VDW,
  198. and CLIPPER.L23.  Delete CLIPPER.COM and rename CLIPPER.BIN to CLIPPER.EXE.
  199. This is the real CLIPPER program without any SoftGuard code or encryption.
  200. We could not write it out with the .EXE extension because DEBUG cannot write
  201. .EXE files.  Every protected program I have seen has the .EXE extention, but
  202. it is possible to use Softguard to encrypt .COM files too.  See the table
  203. above for the proper extension to put on the decrypted file.
  204.  
  205.  
  206.      There is another version of the Softguard system, ALSO labeled 2.03,
  207. but which differs by one byte in part of the CML file and 7 bytes in
  208. another.  If you start to apply the above patches and find some of the
  209. bytes do not match, try the following instructions:
  210.  
  211. debug CLIPPER.com        ; name of file that runs the product
  212. r <CR>                ; dump debug's registers
  213.  
  214.       ****    WRITE DOWN THE VALUE OF DS FOR USE BELOW.  ****
  215.      ****  THIS VALUE IS DEPENDENT ON YOUR PARTICULAR MACHINE. ****
  216.  
  217. g 4D7                ; now we can trace CML
  218. t
  219. g 1B5
  220. t
  221. e cs:A2
  222.     74.EB            ; debug reports the 74 here, you enter EB
  223. e cs:127            ; HERE START THE 1 BYTE DIFFERENCES
  224.     E8.90 D1.90 05.90    ; you enter the 90's followed by a space.
  225. g 127
  226. a 185
  227.     jmp 1C5
  228.     <CR>            ; this second CR gets you out of the assembler
  229. a 22B
  230.     jmp 265
  231.     <CR>
  232. a 41F
  233.     mov ax,22
  234.     <CR>
  235. e cs:42F
  236.     01.89            ; debug reports the 01, you enter 89
  237. a 4CE
  238.     mov bl,7A
  239.     <CR>
  240. g 4DF
  241. g 281
  242. t
  243. g 24D
  244. t                ; HERE ARE THE 7 BYTE DIFFERENCES
  245. g 5A6                ; wait while reading VDF & FAT
  246. g=5B1 5C1
  247. g=5C9 9DA            ; CLIPPER.EXE has been decrypted
  248.  
  249. d cs:1E7 L8            ; just for grins, here's the password
  250.            'SUMMER85'
  251.  
  252.           ****  USE THE FILE SIZE LISTED IN THE TABLE ABOVE  ****
  253.          ****  THE VALUES HERE ARE FOR CLIPPER SUMMER 85 ONLY  ****
  254.  
  255. rBX <CR>
  256. :1                ; set BX to 1 for CLIPPER
  257. rCX <CR>
  258. :9800                ; set CX to 9800 for CLIPPER
  259.  
  260.           ****  USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  261.  
  262. nCLIPPER.bin            ; name of file to write to
  263. w XXXX:100            ; where XXXX is the value of DS that
  264.                 ;   you wrote down at the beginning.
  265. q                ; quit debug
  266.  
  267. REN CLIPPER.BIN CLIPPER.EXE
  268.                       The Lone Victor - 9/20/85
  269.  
  270.  
  271. SOFT203A.UNP        Breaking Softguard version 2.03A
  272. version 1                        by The Lone Victor
  273.  
  274.      There is a THIRD version of the Softguard system, labeled 2.03A,
  275. which is used by Lotus for 123 release 2.
  276.  
  277.      First, using your valid, original 123 diskette, install it on a
  278. fixed disk.  You cannot use this text to unprotect the floppy directly!
  279. Softguard hides three files in your fixed disk root directory: CML0203A.HCL,
  280. VDF0203A.VDW, and 123.L2C.  It also copies 123.COM into your chosen 123
  281. directory.  123.L2C is the real 123 loader, encrypted (it loades the 123.CMP
  282. file). The extension of this file does not matter.  It is really an
  283. encrypted .EXE file.
  284.  
  285.      We can now run 123.COM using DEBUG, trace just up to the point
  286. where it has decrypted 123.EXE, then write that file out.
  287.  
  288.       ****    USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  289.        ****  E.G. USE FW.COM INSTEAD OF 123.COM FOR FRAMEWORK  ****
  290.  
  291. debug 123.com            ; name of file that runs the product
  292. r <CR>                ; dump debug's registers
  293.  
  294.       ****    WRITE DOWN THE VALUE OF DS FOR USE BELOW.  ****
  295.      ****  THIS VALUE IS DEPENDENT ON YOUR PARTICULAR MACHINE. ****
  296.  
  297. g 4FA                ; now we can trace CML
  298. t                ; this step changes segments into CML
  299. g 1B5
  300. t                ; change segments
  301. a 7D
  302.     mov ax,cs        ; assemble new instruction here over xor ax,ax
  303. e cs:E9             ; NOP out a mov ds,cx instruction
  304.     8E.90 D9.90        ; when debug reports 8E. you enter 90 <space>
  305.                 ; when debug reports D9. you enter 90 <CR>
  306. e cs:F5             ; change a jz instruction into a jmp
  307.     74.EB            ; debug reports the 74 here, you enter EB
  308. e cs:107
  309.     8E.90 D8.90        ; NOP out a mov ds,ax
  310. e cs:119
  311.     8E.90 D9.90        ; NOP out a mov ds,cx
  312. e cs:1AA
  313.     CC.90            ; NOP out an int 3
  314. g1AA                ; go to this address
  315. e cs:1E6
  316.     CC.90            ; NOP out an int 3
  317. e cs:200
  318.     E8.90 FF.90 03.90    ; NOP out a call 602
  319. e cs:269
  320.     26.2E            ; change an es: to cs:
  321. e cs:26E            ; change order of some pop instructions
  322.     1F.5A 5A.59 5F.5B 5B.5F 5E.5E 59.1F
  323. e cs:1B6
  324.     8E.90 DB.90        ; NOP out a mov ds.bx
  325. e cs:1DD
  326.     74.EB            ; change a jz to a jmp
  327. a 44C
  328.     jmp 4BF         ; jump to some code we need
  329. a 53C
  330.     jmp 455         ; jump back into main line code
  331. a 4E1
  332.     mov bl,10        ; provide correct checksum value
  333. e cs:500
  334.     FE.90 C7.90        ; NOP out an inc bh
  335. e cs:52B
  336.     8E.90 D9.90        ; NOP out a mov ds,cx
  337. g 1E6
  338. t                ; trace through two passes
  339. g 1E6
  340. g 290
  341. t                ; change segments
  342. g 24D
  343. t                ; change segments
  344. e cs:728
  345.     8C.90 1F.90        ; NOP out a mov [bx],ds
  346. e cs:431
  347.     89.90 07.90        ; NOP out a mov [bx],ds
  348. e cs:5BD
  349.     75.90 03.90        ; NOP out a jnz 5C2
  350. e cs:5F0
  351.     89.90 17.90        ; NOP out a mov [bx],dx
  352. e cs:5D8
  353.     74.EB            ; change a jz to jmp
  354. g A41
  355. g AFA                ; 123.EXE has been decrypted
  356.  
  357. d cs:1F1 L8            ; just for grins, here's the password
  358.            'LOTUSKEY'
  359. e XXXX:100            ; where XXXX is the value of DS that
  360.                 ;   you wrote down at the beginning.
  361.     3B.4D 2E.5A        ; programs other than 123 rel 2 may
  362.                 ; have some numbers here other than 3B 2E
  363.  
  364.           ****  USE THE FILE SIZE LISTED IN THE TABLE ABOVE  ****
  365.          ****  THE VALUES HERE ARE FOR 123 2.00 ONLY  ****
  366.  
  367. rBX <CR>
  368. :0                ; set BX to 0 for 123
  369. rCX <CR>
  370. :1C00                ; set CX to 1C00 for 123
  371.  
  372.           ****  USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  373.  
  374. n123.bin            ; name of file to write to
  375. w XXXX:100            ; again XXXX is the original DS value
  376. q                ; quit debug
  377.  
  378.      Following the 123 instructions, UNINSTALL 123.  You can now
  379. put away your original 123 diskette.  We are done with it.  Delete 
  380. 123.COM and rename 123.BIN to 123.EXE.  This is the unprotected 123 
  381. loader which runs the 123.CMP program. We could not write it
  382. out with the .EXE extension because DEBUG cannot write .EXE files.
  383.